#include <BustaNetInternal.h>
Inheritance diagram for MPCharSelected:
Public Member Functions | |
MPCharSelected (int pID, BustaModelCharacter selectedChar) | |
CONSTRUCTOR. | |
int | getPlayerID () |
Returns the identification number of the player who has selected a character. | |
BustaModelCharacter | getSelectedChar () |
Returns the character the player has selected. |
This message is received by all players when another player in a multiplayer game has made a character selection. The player can then tell who has made the selection and which character was selected.
|
CONSTRUCTOR. Creates an instance of the MPCharSelected class. Upon creation, the message details are specified.
|
|
Returns the identification number of the player who has selected a character. An integer identification number of the player who has made a character selection is returned.
|
|
Returns the character the player has selected. Returns an char representation of the character that the player has selected.
|